home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_flags.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-09-17  |  1.7 KB  |  59 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_flags.c
  31.  */
  32.  
  33. struct LongFlag {
  34.     LONG lf_Value;
  35.     UBYTE *lf_Name;
  36.     UBYTE *lf_Text;
  37. };
  38.  
  39. struct MaskedLongFlag {
  40.     LONG mlf_Value;
  41.     LONG mlf_Mask;
  42.     UBYTE *mlf_Name;
  43.     UBYTE *mlf_Text;
  44. };
  45.  
  46. #define FlagsWindowObject                   NewObject(FlagsWinClass->mcc_Class, NULL
  47.  
  48. struct FlagsWinData {
  49.     APTR fwd_FlagsText;
  50.     APTR fwd_FlagsList;
  51.     ULONG fwd_FlagsValue;
  52.     ULONG fwd_FlagsType;
  53. };
  54.  
  55. ULONG __asm __saveds FlagsWinDispatcher( register __a0 struct IClass *cl,
  56.                                          register __a2 Object *obj,
  57.                                          register __a1 Msg msg );
  58.  
  59.